package com.yoomiito.app.widget.state;

import android.graphics.drawable.AnimationDrawable;
import android.view.View;

import com.yoomiito.app.R;


public class LoadingType extends LayoutType {
    private AnimationDrawable mProgressAnim;

    @Override
    public int layoutId() {
        return R.layout.layout_progress;
    }

    @Override
    public void show(View rootView) {
//        ImageView progressImageView = (ImageView) rootView.findViewById(R.id.progress_wheel);
//        if (mProgressAnim == null) {
//            mProgressAnim = (AnimationDrawable) progressImageView.getBackground();
//        }
//        mProgressAnim.start();
    }

    @Override
    public void hide() {
//        mProgressAnim.stop();
    }
}
